package com.dq.eduservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dq.eduservice.entity.EduTeacher;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dq.eduservice.vo.TeacherVo;

import java.util.Map;

/**
 * 讲师(EduTeacher)表服务接口
 *
 * @author Dq
 * @since 2022-07-14 19:53:04
 */
public interface EduTeacherService  extends IService<EduTeacher> {

    /**
     * 根据条件查询老师分页
     * @param page
     * @return
     */
    Map<String, Object> getFrontTeacherList(Page<EduTeacher> page);

    /**
     * 根据id查询老师信息
     * @param id
     * @return
     */
    TeacherVo getTeacherInfoById(String id);
}